﻿<Window x:Class="_7DTD_SingleMapRenderer.SettingsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Settings" Height="150" Width="350"
        ShowInTaskbar="False" WindowStyle="ToolWindow" WindowStartupLocation="CenterOwner">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <StackPanel Grid.Row="0" Margin="5">
            <CheckBox IsChecked="{Binding UseDataStore}">
                <TextBlock TextWrapping="Wrap">
                    <Run Text="Use DataStore"/>
                    <LineBreak/>
                    <Run Text="Saves all map tiles into a separate file. Circumvents the restriction of 64 MB big map files. May use plenty of disk space."/>
                </TextBlock>
            </CheckBox>
        </StackPanel>

        <UniformGrid Grid.Row="1" Rows="1">
            <Button Padding="10,2" Margin="10,5" HorizontalAlignment="Center" VerticalAlignment="Center"
                Content="_OK" Click="ButtonOK_Click"/>
            <Button Padding="10,2" Margin="10,5" HorizontalAlignment="Center" VerticalAlignment="Center"
                Content="_Cancel" IsCancel="True"/>
        </UniformGrid>
    </Grid>
</Window>
